package com.foreverwin.mes.so.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Syngna
 * @since 2020-03-05
 */
@TableName("Z_SHOP_ORDER_GEN_HIS")
public class ShopOrderGenHis extends Model<ShopOrderGenHis> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.UUID)
   private String handle;
    /**
     * 站点
     */
   @TableField("SITE")
   private String site;
    /**
     * 工单
     */
   @TableField("SHOP_ORDER")
   private String shopOrder;
    /**
     * 数量
     */
   @TableField("QTY")
   private Double qty;
    /**
     * 物料HANDLE
     */
   @TableField("ITEM_BO")
   private String itemBo;
    /**
     * 交易批次
     */
   @TableField("TRANSACTION_BATCH")
   private String transactionBatch;
    /**
     * 创建人
     */
   @TableField("CREATE_USER")
   private String createUser;
    /**
     * 创建时间
     */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getShopOrder() {
      return shopOrder;
   }

   public void setShopOrder(String shopOrder) {
      this.shopOrder = shopOrder;
   }

   public Double getQty() {
      return qty;
   }

   public void setQty(Double qty) {
      this.qty = qty;
   }

   public String getItemBo() {
      return itemBo;
   }

   public void setItemBo(String itemBo) {
      this.itemBo = itemBo;
   }

   public String getTransactionBatch() {
      return transactionBatch;
   }

   public void setTransactionBatch(String transactionBatch) {
      this.transactionBatch = transactionBatch;
   }

   public String getCreateUser() {
      return createUser;
   }

   public void setCreateUser(String createUser) {
      this.createUser = createUser;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String SHOP_ORDER = "SHOP_ORDER";

   public static final String QTY = "QTY";

   public static final String ITEM_BO = "ITEM_BO";

   public static final String TRANSACTION_BATCH = "TRANSACTION_BATCH";

   public static final String CREATE_USER = "CREATE_USER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "ShopOrderGenHis{" +
         "handle = " + handle +
         ", site = " + site +
         ", shopOrder = " + shopOrder +
         ", qty = " + qty +
         ", itemBo = " + itemBo +
         ", transactionBatch = " + transactionBatch +
         ", createUser = " + createUser +
         ", createdDateTime = " + createdDateTime +
         "}";
   }
}